class_name AttributeAttributeProxy
extends AttributeProxy

var owner: Variant


func _init(init_owner: Variant) -> void:
    owner = init_owner


func _get(attribute_name: StringName) -> Variant:
    var attribute = owner.attribute_manager.get_attribute(attribute_name)
    if attribute != null:
        return attribute.current_value
    else:
        return null
